//
//  ZMCommonFile.swift
//  ZMWeiboSwift
//
//  Created by pg on 2017/7/25.
//  Copyright © 2017年 pg. All rights reserved.
//

import UIKit

//通知的定义
//切换导航控制器的通知
let SwitchRootVCNotificationName = "SwitchRootVCNotificationName"




//记录当前屏幕的尺寸
let ScreenWidth = UIScreen.main.bounds.size.width
let ScreenHeight = UIScreen.main.bounds.size.height




//创建颜色
func RandowColor()->(UIColor){
    
    //产生水机数
    let red = CGFloat(arc4random_uniform(256))/255.0
    let green = CGFloat(arc4random_uniform(256))/255.0
    let blue = CGFloat(arc4random_uniform(256))/255.0
    
  let color =  UIColor(red: red, green: green, blue: blue, alpha: 1.0)
    return color
}



